import { createMemoryHistory, createRouter } from 'vue-router'

import Home from '../pages/home/index.vue'
import Statistics from '../pages/statistics/index.vue'


const routes = [
  { path: '/', component: Home },
  { path: '/statistics', component: Statistics },
]

const router = createRouter({
  history: createMemoryHistory(),
  routes
})

export default router
